<template>
  <div>
    <img class="preview-img" v-for="(item, index) in list" :src="item.src" height="100"
         @click="$preview.open(index, list)">
  </div>
</template>

<script>
  export default {
    name: 'Content2',
    data() {
      return {
        list: [{
          src: 'https://placekitten.com/1200/800',
          w: 1200,
          h: 800
        }, {
          src: 'https://placekitten.com/1200/900',
          w: 1200,
          h: 800
        }]
      }
    }
  }
</script>
